Optimal. Leaf size=171 \[ -\frac {\sqrt [4]{a+b} \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{2 \sqrt [4]{b} d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 171, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {3294, 1117}
\begin {gather*} -\frac {\sqrt [4]{a+b} \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{2 \sqrt [4]{b} d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1117
Rule 3294
Rubi steps
\begin {align*} \int \frac {\sin (c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{d}\\ &=-\frac {\sqrt [4]{a+b} \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{2 \sqrt [4]{b} d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 9 vs. order 4 in
optimal.
time = 45.06, size = 13300, normalized size = 77.78 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 17.55, size = 163, normalized size = 0.95
method | result | size |
default | \(-\frac {\sqrt {1-\frac {\left (i \sqrt {a}\, \sqrt {b}+b \right ) \left (\cos ^{2}\left (d x +c \right )\right )}{a +b}}\, \sqrt {1+\frac {\left (i \sqrt {a}\, \sqrt {b}-b \right ) \left (\cos ^{2}\left (d x +c \right )\right )}{a +b}}\, \EllipticF \left (\cos \left (d x +c \right ) \sqrt {\frac {i \sqrt {a}\, \sqrt {b}+b}{a +b}}, \sqrt {-1-\frac {2 \left (i \sqrt {a}\, \sqrt {b}-b \right )}{a +b}}\right )}{d \sqrt {\frac {i \sqrt {a}\, \sqrt {b}+b}{a +b}}\, \sqrt {a +b -2 b \left (\cos ^{2}\left (d x +c \right )\right )+b \left (\cos ^{4}\left (d x +c \right )\right )}}\) | \(163\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.11, size = 35, normalized size = 0.20 \begin {gather*} {\rm integral}\left (\frac {\sin \left (d x + c\right )}{\sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sin \left (c+d\,x\right )}{\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________